/*
 * @Description: 局级综合系统公用接口
 * @Author: Huang Junjie
 * @Date: 2021-05-08 15:27:37
 * @LastEditTime: 2021-05-14 17:15:42
 * @LastEditors: Huang Junjie
 */
import request from '@/utils/request';

// 字典查询列表接口
export function getDictionaryQueryList(params) {
  return request({
    url: `/jjxtapi/dict/findByDtId`,
    method: 'get',
    params
  });
}

// 查询所有单位下的最新新闻
export function getAllUnitNewsDataList() {
  return request({
    url: `/jjxt/article/getUnitNews`,
    method: 'get'
  });
}

// 查询文章信息列表
export function getArticleDataList(params) {
  return request({
    url: `/jjxt/article/pageData`,
    method: 'get',
    params
  });
}

// 首页单位安全天数展示接口
export function getPowerSupplySystemSafeDayDataList() {
  return request({
    url: `/jjxt/bureauSafeDayConfig/getPageInfoList`,
    method: 'get'
  });
}
